<div class="sort-modal">
  <div class="modal-filter" on-tap="hideModal()"></div>
  <div class="modal-body">
    <div class="sort-title">
      所属分类选择
    </div>
    <ion-scroll>
      <div class="sort-div">
      </div>
      <div class="sort-div" ng-repeat="fsort in sorts">
        <span style="display: none">{{i = $index}}</span>
        <div class="fsort-name" on-tap="choose(fsort,i)"
             ng-class="{'checked':fsort.checked}">{{fsort.name}}</div>
        <div class="second-sort" ng-repeat="ssort in fsort.childs">
          <span style="display: none">{{j = $index}}</span>
          <div style="padding-left: 30px;" class="ssort-name" on-tap="choose(ssort,i,j)"
               ng-class="{'checked':ssort.checked}">|--&nbsp;{{ssort.name}}</div>
        </div>
      </div>
    </ion-scroll>
    <div class="save-btn" on-tap="checkSort()">选择</div>
  </div>

</div>